package bridges;

public class MsgAndId {
	
	private int subForumId;
	private String msg;
	private String webMsg;
	private boolean isSubForum;
	/**
	 * @return the webMsg
	 */
	public String getWebMsg() {
		return webMsg;
	}

	public MsgAndId(int threadId,String msg,String webMsg,boolean isSubForum)
	{
		this.subForumId =threadId;
		this.msg = msg;
		this.webMsg = webMsg;
		this.setSubForum(isSubForum);
	}

	/**
	 * @return the threadId
	 */
	public int getSubForumId() {
		return subForumId;
	}

	/**
	 * @return the msg
	 */
	public String getMsg() {
		return msg;
	}

	public void setSubForum(boolean isSubForum) {
		this.isSubForum = isSubForum;
	}

	public boolean isSubForum() {
		return isSubForum;
	}
	
	

}
